1 using UnityEngine;
2 using
System.Collections;
3
4 public
class lapcounter : MonoBehaviour {
5
6     
public int lap = 1;
7     
public int countcars;
8     
public bool crossedgoal = true;
9
10     
public timer timer;
11
12     
void Start() {
13         countcars = transform.parent.Find(
"Cars").childCount;
14     }
15 }


Gõ tìm kiếm nhanh...